package com.zp.business.service.register;


import com.zp.business.entity.register.RegisterPayType;
import com.zp.business.entity.register.bo.RegisterPayTypeBo;
import com.zp.business.entity.register.vo.RegisterPayTypeVo;
import com.zp.common.myBatis.core.page.PageQuery;
import com.zp.common.myBatis.core.page.TableDataInfo;

import java.util.Collection;
import java.util.List;

/**
 * 挂号收费类型表Service接口
 *
 * @author zhang peng
 * @ date 2023-12-26
 */
public interface IRegistPayTypeService {

    /**
     * 查询挂号收费类型表
     */
    RegisterPayTypeVo queryById (String id);

    /**
     * 查询挂号收费类型表列表(分页)
     */
    TableDataInfo<RegisterPayTypeVo> queryPageList (RegisterPayTypeBo bo, PageQuery pageQuery);

    /**
     * 查询挂号收费类型表列表(不分页)
     */
    List<RegisterPayTypeVo> queryList (RegisterPayTypeBo bo);

    /**
     * 修改挂号收费类型表
     */
    Boolean insertByBo (RegisterPayTypeBo bo);

    /**
     * 修改挂号收费类型表
     */
    Boolean updateByBo (RegisterPayTypeBo bo);

    /**
     * 校验并批量删除挂号收费类型表信息
     */
    Boolean deleteWithValidByIds (Collection<String> ids, Boolean isValid);

    /**
     * 批量保存
     *
     * @param list
     * @return
     */
    Boolean insertBatch (List<RegisterPayType> list);
}
